package mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import model.THospital;

public interface THospitalMapper {
    int deleteByPrimaryKey(Integer hid);

    int insert(THospital row);
    
    int selectByeight(THospital row);
    
    int insertMany(
    		@Param("hospitals") List<THospital> hospitals
    	);

    THospital selectByPrimaryKey(Integer hid);

    List<THospital> selectAll();

    int updateByPrimaryKey(THospital row);
    
    List<THospital> selectByone(
    		@Param("address")String address,
    		@Param("grade")String grade
    	);
    THospital selectBythree(
    		@Param("hName") String hName
    		);
}